package com.langxin.erp.model;

import org.hibernate.validator.constraints.NotBlank;
import org.hibernate.validator.constraints.URL;


/**
 * banner
 * @author guqj
 *
 */
public class BannerInfo extends BaseInfo {

	private static final long serialVersionUID = 6637772816371732211L;
	// 图片URL
	@NotBlank(message = "请上传图片")
	private String  image;
	// 图片链接
	@NotBlank(message = "请填写链接")
	@URL(message = "链接格式不正确")
	private String  link;
	// 状态
	private Integer status;
	
	
	public Integer getStatus() {
		return status;
	}
	public void setStatus(Integer status) {
		this.status = status;
	}
	public String getImage() {
		return image;
	}
	public void setImage(String image) {
		this.image = image;
	}
	public String getLink() {
		return link;
	}
	public void setLink(String link) {
		this.link = link;
	}
	
	

}
